package untils

import "house-src/pkg"

type Pay interface {
	AlipayOrder(orderSn, total string) string
}

// 支付宝
type ALiPay struct{}

func (p *ALiPay) AlipayOrder(orderSn, total string) string {
	return pkg.OrderPay(orderSn, total)
}

// 微信
type WeiXin struct {
}

func (p *WeiXin) WeiXinOrder(orderSn, total string) string {
	return pkg.OrderPay(orderSn, total)
}
